home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5634 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 4e 6f | 72 77 61 79 2e 45 55 2e |Path: No|rway.EU.|
|00000010| 6e 65 74 21 75 73 65 6e | 65 74 0a 46 72 6f 6d 3a |net!usen|et.From:|
|00000020| 20 44 61 76 69 64 20 43 | 61 72 72 20 3c 64 61 76 | David C|arr <dav|
|00000030| 69 64 63 40 6d 61 72 69 | 6e 65 2e 73 69 6d 72 61 |idc@mari|ne.simra|
|00000040| 64 2e 6e 6f 3e 0a 4e 65 | 77 73 67 72 6f 75 70 73 |d.no>.Ne|wsgroups|
|00000050| 3a 20 63 6f 6d 70 2e 6c | 61 6e 67 2e 63 2b 2b 0a |: comp.l|ang.c++.|
|00000060| 53 75 62 6a 65 63 74 3a | 20 52 65 3a 20 51 3a 20 |Subject:| Re: Q: |
|00000070| 52 69 67 6f 72 6f 75 73 | 20 63 6f 64 69 6e 67 20 |Rigorous| coding |
|00000080| 75 73 69 6e 67 20 23 69 | 66 20 21 64 65 66 69 6e |using #i|f !defin|
|00000090| 65 64 28 2e 2e 2e 29 20 | 61 6e 64 20 23 69 6e 63 |ed(...) |and #inc|
|000000a0| 6c 75 64 65 0a 44 61 74 | 65 3a 20 4d 6f 6e 2c 20 |lude.Dat|e: Mon, |
|000000b0| 30 35 20 46 65 62 20 31 | 39 39 36 20 31 30 3a 30 |05 Feb 1|996 10:0|
|000000c0| 31 3a 32 32 20 2b 30 31 | 30 30 0a 4f 72 67 61 6e |1:22 +01|00.Organ|
|000000d0| 69 7a 61 74 69 6f 6e 3a | 20 45 55 6e 65 74 20 4e |ization:| EUnet N|
|000000e0| 6f 72 77 61 79 0a 4d 65 | 73 73 61 67 65 2d 49 44 |orway.Me|ssage-ID|
|000000f0| 3a 20 3c 33 31 31 35 43 | 37 36 32 2e 31 41 32 39 |: <3115C|762.1A29|
|00000100| 40 6d 61 72 69 6e 65 2e | 73 69 6d 72 61 64 2e 6e |@marine.|simrad.n|
|00000110| 6f 3e 0a 52 65 66 65 72 | 65 6e 63 65 73 3a 20 3c |o>.Refer|ences: <|
|00000120| 34 65 6f 31 66 73 24 72 | 72 33 40 6e 65 74 6c 61 |4eo1fs$r|r3@netla|
|00000130| 62 2e 63 73 2e 72 70 69 | 2e 65 64 75 3e 20 3c 34 |b.cs.rpi|.edu> <4|
|00000140| 65 75 38 65 62 24 6e 70 | 74 40 6e 65 74 6c 61 62 |eu8eb$np|t@netlab|
|00000150| 2e 63 73 2e 72 70 69 2e | 65 64 75 3e 0a 4e 4e 54 |.cs.rpi.|edu>.NNT|
|00000160| 50 2d 50 6f 73 74 69 6e | 67 2d 48 6f 73 74 3a 20 |P-Postin|g-Host: |
|00000170| 6d 61 69 6c 2e 73 69 6d | 72 61 64 2e 6e 6f 0a 4d |mail.sim|rad.no.M|
|00000180| 69 6d 65 2d 56 65 72 73 | 69 6f 6e 3a 20 31 2e 30 |ime-Vers|ion: 1.0|
|00000190| 0a 43 6f 6e 74 65 6e 74 | 2d 54 79 70 65 3a 20 74 |.Content|-Type: t|
|000001a0| 65 78 74 2f 70 6c 61 69 | 6e 3b 20 63 68 61 72 73 |ext/plai|n; chars|
|000001b0| 65 74 3d 75 73 2d 61 73 | 63 69 69 0a 43 6f 6e 74 |et=us-as|cii.Cont|
|000001c0| 65 6e 74 2d 54 72 61 6e | 73 66 65 72 2d 45 6e 63 |ent-Tran|sfer-Enc|
|000001d0| 6f 64 69 6e 67 3a 20 37 | 62 69 74 0a 58 2d 4d 61 |oding: 7|bit.X-Ma|
|000001e0| 69 6c 65 72 3a 20 4d 6f | 7a 69 6c 6c 61 20 32 2e |iler: Mo|zilla 2.|
|000001f0| 30 62 36 61 20 28 57 69 | 6e 4e 54 3b 20 49 29 0a |0b6a (Wi|nNT; I).|
|00000200| 54 6f 3a 20 74 6f 6e 79 | 68 40 74 63 70 2e 63 6f |To: tony|h@tcp.co|
|00000210| 2e 75 6b 0a 0a 74 6f 6e | 79 68 40 74 63 70 2e 63 |.uk..ton|yh@tcp.c|
|00000220| 6f 2e 75 6b 20 77 72 6f | 74 65 3a 0a 3e 20 63 6c |o.uk wro|te:.> cl|
|00000230| 61 73 73 20 42 20 2a 70 | 3b 0a 3e 20 0a 3e 20 6f |ass B *p|;.> .> o|
|00000240| 72 20 64 65 63 6c 61 72 | 65 3a 0a 3e 20 0a 3e 20 |r declar|e:.> .> |
|00000250| 63 6c 61 73 73 20 42 3b | 0a 3e 20 0a 3e 20 62 65 |class B;|.> .> be|
|00000260| 66 6f 72 65 20 41 27 73 | 20 64 65 66 69 6e 69 74 |fore A's| definit|
|00000270| 69 6f 6e 2e 0a 3e 20 0a | 3e 20 59 6f 75 20 63 61 |ion..> .|> You ca|
|00000280| 6e 27 74 20 68 61 76 65 | 20 74 77 6f 20 63 6c 61 |n't have| two cla|
|00000290| 73 73 65 73 20 74 68 61 | 74 20 75 73 65 20 65 61 |sses tha|t use ea|
|000002a0| 63 68 20 6f 74 68 65 72 | 27 73 20 6d 65 6d 62 65 |ch other|'s membe|
|000002b0| 72 73 20 75 6e 6c 65 73 | 73 20 79 6f 75 20 64 6f |rs unles|s you do|
|000002c0| 0a 3e 20 69 74 20 74 68 | 72 6f 75 67 68 20 61 6e |.> it th|rough an|
|000002d0| 20 61 62 73 74 72 61 63 | 74 20 69 6e 74 65 72 66 | abstrac|t interf|
|000002e0| 61 63 65 20 63 6c 61 73 | 73 2e 0a 0a 54 6f 6e 79 |ace clas|s...Tony|
|000002f0| 2c 0a 54 68 61 6e 6b 73 | 2c 20 61 73 20 74 68 69 |,.Thanks|, as thi|
|00000300| 73 20 61 70 70 65 61 72 | 73 20 74 6f 20 62 65 20 |s appear|s to be |
|00000310| 74 68 65 20 61 70 70 72 | 6f 61 63 68 20 63 68 6f |the appr|oach cho|
|00000320| 73 65 6e 2c 20 61 74 20 | 6c 65 61 73 74 20 69 6e |sen, at |least in|
|00000330| 20 0a 74 68 65 20 4d 53 | 20 73 61 6d 70 6c 65 20 | .the MS| sample |
|00000340| 63 6f 64 65 20 77 68 65 | 72 65 20 49 20 66 6f 75 |code whe|re I fou|
|00000350| 6e 64 20 74 68 69 73 20 | 74 72 6f 75 62 6c 65 73 |nd this |troubles|
|00000360| 6f 6d 65 20 70 72 6f 62 | 6c 65 6d 2e 0a 0a 41 6c |ome prob|lem...Al|
|00000370| 74 68 6f 75 67 68 20 49 | 20 64 69 64 6e 27 74 20 |though I| didn't |
|00000380| 73 61 79 20 69 74 20 6f | 72 69 67 69 6e 61 6c 6c |say it o|riginall|
|00000390| 79 2c 20 79 6f 75 20 68 | 61 76 65 20 68 69 74 20 |y, you h|ave hit |
|000003a0| 75 70 6f 6e 20 77 68 65 | 72 65 20 0a 74 68 69 73 |upon whe|re .this|
|000003b0| 20 72 65 61 6c 6c 79 20 | 62 65 63 6f 6d 65 73 20 | really |becomes |
|000003c0| 61 20 70 72 6f 62 6c 65 | 6d 3b 20 75 73 69 6e 67 |a proble|m; using|
|000003d0| 20 61 62 73 74 72 61 63 | 74 20 62 61 73 65 20 63 | abstrac|t base c|
|000003e0| 6c 61 73 73 65 73 2e 0a | 44 6f 65 73 20 61 6e 79 |lasses..|Does any|
|000003f0| 6f 6e 65 20 68 61 76 65 | 20 73 6f 6c 75 74 69 6f |one have| solutio|
|00000400| 6e 28 73 29 20 66 6f 72 | 20 74 68 69 73 20 63 61 |n(s) for| this ca|
|00000410| 73 65 3f 0a 0a 44 61 76 | 69 64 0a |se?..Dav|id. |
+--------+-------------------------+-------------------------+--------+--------+